--刹刻囚斗
local chakeqiudou = fk.CreateSkill {
    name = "mcdh_chakeqiudou",
    tags ={Skill.Wake}
}

local U = require "packages/utility/utility"
local lib = require "packages/mcdh/lib"

chakeqiudou:addEffect(fk.EnterDying,{
    can_trigger = function (self, event, target, player, data)
        return target == player and player:hasSkill(self) and player:usedSkillTimes(self.name, Player.HistoryGame) == 0
    end,
    can_wake = Util.TrueFunc,
    on_use = function(self, event, target, player, data)
        local room = player.room
        room:changeHero(player,"mcdh_MB_006_2",true,false,true,true)
    end,
})

Fk:loadTranslationTable {
    ["mcdh_chakeqiudou"] = "刹刻囚斗",
    [":mcdh_chakeqiudou"] = "觉醒技。当你进入濒死状态时，你更换武将牌至【杰斯顿 寒铁流翩】。",
}

return chakeqiudou